package com.bjsxt.service;

import com.bjsxt.domain.CoinConfig;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
* @date:2022/1/13 20:50
* @author:yang
*/
public interface CoinConfigService extends IService<CoinConfig>{


        /**
         * 通过币种id查询币种的配置信息
         * @param coinId
         * @return
         */
        CoinConfig findByCoinId(Long coinId);

        /**
         * 币种配置的修改操作
         * @param coinConfig
         * @return
         */
        boolean updateOrSave(CoinConfig coinConfig);
    }
